﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace AUV5.Model
{
    /// <summary>
    /// 功能：     实体类 OrderInfo ( 订单，每个订单可能包含多个订单项 ) 
    /// 作者：     LI
    /// 日期：     2012-01-16
    /// 修改日期： 
    /// 修改人：
    /// 修改内容：
    /// </summary>
    [Serializable]
    public class OrderInfo
    {
        public OrderInfo()
        {

        }

        public IList<OrderItem> ItemList { get; set; }
        /// <summary>
        /// 买家姓名
        /// </summary>
        public string BuyerName { get; set; }
        /// <summary>
        /// 卖家姓名
        /// </summary>
        public string SellerName { get; set; }
        #region Model

        /// <summary>
        /// 
        /// </summary>
        public string OrderID { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderCode { get; set; }
        /// <summary>
        /// 买家
        /// </summary>
        public string Buyer { get; set; }
        /// <summary>
        /// 卖家
        /// </summary>
        public string Seller { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public int StatusID { get; set; }
        /// <summary>
        /// 备注信息（暂时不用）
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 运费
        /// </summary>
        public decimal ShipCharge { get; set; }
        /// <summary>
        /// 是否本地余额支付
        /// </summary>
        public bool IsLocalPayment { get; set; }
        /// <summary>
        /// 订单总价
        /// </summary>
        public decimal Total { get; set; }
        /// <summary>
        /// 收款数
        /// </summary>
        public decimal Payment { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int Duration { get; set; }
        /// <summary>
        /// 删除状态
        /// </summary>
        public int IsDel { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime UpdateDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime BeginDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime EndDate { get; set; }
        /// <summary>
        /// 访问者的身份ID(GUID),每个用户都一定会有该值,取自名为nwr_wmas_userkey的cookie
        /// </summary>
        public string WMAS_UK { get; set; }
        /// <summary>
        /// nwr_wmas_cikey仅部分用户会有,取自名为nwr_wmas_cikey的cookie
        /// </summary>
        public string WMAS_CK { get; set; }

        #endregion Model
    }
}
